package com.gy.spring.mvc.service;

import java.util.List;

/**
 * TODO Redis统一接口工具
 *
 * @author geYang
 * @date 2018-04-09
 */
public interface RedisService {

    public String get(String key);

    public void set(String key, String value);

    public List<String> getList(String key, long start, long end);

    public void set(String key, List<String> value);

    public void del(String key);
}
